package it.crosato.stage.server.model.retriever;

import static org.junit.Assert.*;
import it.crosato.stage.shared.exceptions.NonExistentException;
import it.crosato.stage.shared.exceptions.RetrievingException;

import org.junit.After;
import org.junit.Before;
import org.junit.Test;

public class KGMLRetrieverTest {

	@Test
	public void testGetKGML() {
		String KGML = null;
		try {
			KGML = new KGMLRetriever().getKGML("path:hsa00020", 604800000);
		}
		catch (RetrievingException re) { }
		catch (NonExistentException ne) { }
		assertTrue(KGML != null);
	}
	
	@Before
	public void setUp() {
		
	}
	
	@After
	public void tearDown() {
		
	}

}
